<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>按钮和窗口</title>
  <!-- 引入ElementUI样式 -->
  <link rel="stylesheet" href="ElementUI/index.css">
  <script src="ElementUI/vue.js"></script>
  <!-- 引入ElementUI组件库 -->
  <script src="ElementUI/index.js"></script>

</head>
<body>
<div id="app">
  <el-button @click="visible = true">Button</el-button>
  <el-dialog :visible.sync="visible" title="Hello world">
    <p>Try Element</p>
  </el-dialog>
</div>
</body>
<script>
  new Vue({
    el: '#app',
    data: function() {
      return { visible: false }
    }
  })
</script>
</html>